#ifndef FONT_H_INCLUDED
#define FONT_H_INCLUDED

#include <typedefs.h>
#include <ATI.h>
#include <DAL.h>

#define LETTER_WIDTH 8

extern UINT32	GDITransColor;

#ifdef __cplusplus
extern "C" {
#endif // __cplusplus

UINT32 getSymbolCount(char* lpszString);
UINT32 getSymbolStartEnd(UINT8 nLetter, UINT32* iStart, UINT32* iEnd);
UINT32 getSymbolWidth(UINT8 nLetter, UINT8 Mono);
UINT32 getStringWidth(char* lpszString, UINT32 Distance, UINT8 Zoom, UINT8 Mono);

UINT32 drawLetter(UINT32 hDC, UINT32 X, UINT32 Y, UINT8 nLetter, UINT32 brFg, UINT32 brBg, UINT8 Zoom, UINT8 Mono);
UINT32 drawString(UINT32 hDC, UINT32 X, UINT32 Y, char* lpszString, UINT32 brFg, UINT32 brBg, UINT32 Distance, UINT8 Zoom, UINT8 Mono);

#ifdef __cplusplus
}
#endif // __cplusplus

#endif // FONT_H_INCLUDED
